package com.hznu.jspFinal.dao;

import com.hznu.jspFinal.entity.Choice;
import io.swagger.models.auth.In;

import java.util.List;

public interface ChoiceMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Choice record);

    int insertSelective(Choice record);

    Choice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Choice record);

    int updateByPrimaryKey(Choice record);

    Choice selectByContent(String content);

    Choice selectByExerinfoid(Integer exerinfoid);

    List<Choice> selectByKeyword(String keyword);
}